package com.scs.application.modules.dept.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.dept.entity.OprtUse;
import com.scs.application.modules.dept.entity.Use;
import com.scs.application.modules.dept.entity.UseMerge;

import java.util.List;

/**
 * <p>
 *  Service
 * </p>
 */

public interface UseMergeService extends IBaseService<UseMerge> {

    /**
     * 手动合单
     * @param entityList
     * @return
     */
    boolean saveByUseIds(List<Use> entityList);

    boolean saveByOprtUseIds(List<OprtUse> entityList);

    String autoMergeOprtUseMain(String useMergeId);


}
